Yoast\WP\Lib\Model A

Total Complexity 66
Dependencies 3
Dependents 41
Total lines 713
Lines of code 233
Logical lines of code 122
Comment lines 320
Methods 34
Properties 8

Methods 34

Method Rating Maintainability Complexity Lines of code
__set()
S
60 8 12
has_many_through()
S
46 6 36
__get()
S
60 7 13
get_static_property()
S
65 4 9
get_table_name_for_class()
S
61 3 12
save()
S
66 3 9
has_one_or_many()
S
62 2 11
belongs_to()
S
62 2 11
__debugInfo()
S
72 2 6
__callStatic()
S
68 2 7
get_table_name()
S
68 2 7
class_name_to_table_name()
S
60 1 15
use_short_table_name()
S
69 2 7
build_foreign_key_name()
S
71 2 6
factory()
S
67 1 8
set()
S
76 1 4
hydrate()
S
81 1 3
id()
S
81 1 3
delete()
S
81 1 3
as_array()
S
74 1 4
is_new()
S
81 1 3
is_dirty()
S
80 1 3
set_expr()
S
76 1 4
__isset()
S
80 1 3
get()
S
80 1 3
set_table_name()
S
76 1 4
jsonSerialize()
S
81 1 3
__unset()
S
81 1 3
of_wp_type()
S
79 1 3
set_orm()
S
81 1 3
get_id_column_name()
S
78 1 3
has_many()
S
75 1 4
has_one()
S
79 1 3
of_type()
S
72 1 5